home *** CD-ROM | disk | FTP | other *** search
/ Compute! Gazette 1985 July / 1985-07.d64 / bent laser (.txt) < prev    next >
Commodore BASIC  |  2022-09-20  |  325b  |  12 lines

  1. 5 print"[147]"
  2. 10 forl=54272to54295:pokel,0:next:poke54296,15
  3. 20 poke54277,8:poke54278,255:poke54276,23
  4. 30 forz=1to3:f1=2:rem no. of cycles
  5. 40 fory=1to3:f2=8:rem ratio of lengths
  6. 50 poke54273,f1:rem main frequency
  7. 60 forx=1to5:poke54287,f2:rem pitch
  8. 70 f2=f2*1.4:nextx:f1=f1*1.5:nexty:rem pitch
  9. 80 forw=1to10:poke54287,f2:rem w is top pitch
  10. 90 f2=f2*1.05:nextw:nextz:poke54278,15
  11. 95 list
  12.